package cc.linker.steplink.crm.merchant.dao.acs;

import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface RechargeDao {

    void add(Map<String, Object> params);

    void updateTradeSn(Map<String, Object> params);

    void updateTransferSn(Map<String, Object> params);

    Map getLossInfo(@Param("orderSn") String orderSn);

    void updateStatus(Map<String, Object> params);

    Integer isLoss(@Param("orderSn") String orderSn);

    void updateIsLoss(@Param("orderSn") String orderSn,@Param("isLoss") Integer isLoss);

    void updateProtectIsLoss(@Param("orderSn") String orderSn,@Param("isLoss")  Integer isLoss);
}
